//
//  DownloadImageOperation.h
//  LO_MUSIC
//
//  Created by 向祖华 on 16/2/25.
//  Copyright © 2016年 杨少锋. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
//
@class DownloadImageOperation;
//协议
@protocol DownloadImageOperationDelegate <NSObject>
//代理方法（用于将图片给到cell上）
-(void)getImage:(UIImage *)image operation:(DownloadImageOperation*)operation;


@end

@interface DownloadImageOperation : NSOperation
//图片的链接
@property(nonatomic,strong)NSString*url;

//位置信息
@property(nonatomic,strong)NSIndexPath * indexPath;

//代理属性
@property(nonatomic,weak)id<DownloadImageOperationDelegate>delegate;

@end
